package com.buka.server.pojo;



import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

import java.util.Date;


/**
* 
* @TableName tb_ad
*/
@Data
public class Ad implements Serializable {

    /**
    * 广告id
    */
    @Id
    private Long id;
    /**
    * 广告名称
    */
    @Column(name = "name")
    private String name;
    /**
    * 广告位置(0左侧1轮播图2右侧3下方)
    */
    @Column(name = "position")

    private String position;
    /**
    * 开始时间
    */
    @Column(name = "start_time")

    private Date startTime;
    /**
    * 到期时间
    */
    @Column(name = "end_time")

    private Date endTime;
    /**
    * 状态（0：无效 1:有效）
    */
    @Column(name = "status")

    private Integer status;
    /**
    * 图片地址
    */
    @Column(name = "image")

    private String image;
    /**
    * 跳转链接，访问地址
    */
    @Column(name = "url")

    private String url;
    /**
    * 备注
    */
    @Column(name = "remarks")

    private String remarks;
    /**
    * 0未删除
    */
    @Column(name = "is_delete")

    private Integer isDelete;
    /**
    * 
    */
    @Column(name = "create_time")

    private Date createTime;
    /**
    * 
    */
    @Column(name = "update_time")

    private Date updateTime;


}
